# run autoreconf -i to create all the needed .in files
AC_INIT([blogc], 0.2.1, [nimar.arora@gmail.com])

AM_INIT_AUTOMAKE

AC_CONFIG_SRCDIR([src/main.c])

AC_PROG_CC
AC_CHECK_LIB([m], [floor])
AC_PROG_LEX
AC_PROG_YACC
AC_CHECK_PROG(PYTHON, python, python, pythonnotfound)
if test "x$PYTHON" = "xpythonnotfound"; then
   AC_MSG_WARN([*** python not found, make check won't work.])
fi
AC_PROG_RANLIB
AC_PROG_INSTALL

AC_CONFIG_FILES([Makefile examples/Makefile examples/negative/Makefile
                 src/Makefile src/libblogc/Makefile])
AC_OUTPUT
